﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CCPnuts.Pack
{
    /// <summary>
    /// If you don't wanna implement the IPacked directly. You can inherit from this class.
    /// </summary>
    public abstract class PackerBase : IPacker
    {
        private IPacked m_Packed;

        protected PackerBase(IPacked packed)
        {
            m_Packed = packed;
        }

        protected IPacked Packed { get { return m_Packed; } }

        #region IPacker Members

        IPacked IPacker._Packed
        {
            get { return m_Packed; }
        }

        #endregion
    }
}
